Thread and Multithreading

1. Create a thread by extending thread class and runnable interface.

2. Implement sleep() method and yield() for two different threads. 
